package com.cloudkinto.service.orderoutput.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Author Administrator
 *
 * @Des
 * @Version
 * @Date 2020/6/5
 */
@Data
@ApiModel
public class OrderOutputProductAddReq {
    @ApiModelProperty("包裹id")
    private Long packageId;

    @ApiModelProperty("订单id")
    private Long orderId;
    /**
     * SKU数量
     */
    @ApiModelProperty("数量")
    @NotNull(message = "input.product.count.g0")
    private int count;

    @ApiModelProperty("产品id")
    private Long productId;

    @ApiModelProperty("商品sku")
    private String commoditySku;

    @ApiModelProperty("仓库sku")
    private String storageSku;

    public OrderOutputProductAddReq() {
    }

    public OrderOutputProductAddReq(int count, String commoditySku) {
        this.count = count;
        this.commoditySku = commoditySku;
    }
}
